home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Exchange
/
CD Exchange - Volume 1.iso
/
games
/
pd
/
chess
/
src.lha
/
src
/
amiga
/
pointer.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-05
|
537b
|
34 lines
#include <exec/types.h>
static USHORT __chip ToPointerData[] =
{
0x0000, 0x0000, /* position control */
0x0000, 0x0100,
0x0100, 0x0280,
0x0000, 0x0100,
0xfc78, 0xfc78,
0xfefc, 0x80c0,
0x7efe, 0x0180,
0x38ee, 0x2799,
0x38ee, 0x2499,
0x38fe, 0x2499,
0x387e, 0x2401,
0x183c, 0x0403,
0x0000, 0x0c1e,
0x0000, 0x0000 /* next sprite field */
};
void
SetToPointer(struct Window *w)
{
SetPointer(w, ToPointerData, 12, 16, -7, -1);
}
void
ClrToPointer(struct Window *w)
{
ClearPointer(w);
}